function teacherStatistics(button) {

	var jc = $
			.confirm({
				title : '教师风格评估统计',
				type : 'blue',
				columnClass : 'col-md-6 col-md-offset-3',
				content : '<hr>'
						+ '<table  class="table table-bordered" style="text-align: center;">'
						+ '<tbody>'// 
						+ '<tr>' + '<td>教师：</td>'
						+ '<td colspan="2" id="td_teacher_name"></td>'
						+ '</tr>'// 
						+ '<tr>' + '<td>评估数：</td>'
						+ '<td colspan="2" id="td_vateNum"></td>' + '</tr>'// 
						+ '<tr>' + '<td colspan="3">动态教学风格：</td>' + '</tr>'// 
						+ '<tr>' + '<td>平均分：</td>'
						+ '<td id="td_average">沉缓型</td>'
						+ '<td id="td_dynamicStyle"></td>' + '</tr>'// 
						+ '<tr>' + '<td colspan="3">静态教学风格：</td>' + '</tr>' // 
						+ '<tr>' + '<td>互动型票数</td>' + '<td>教授型票数</td>'
						+ '<td>混合型票数</td>' + '</tr>' // 
						+ '<tr>' + '<td id="td_hudongNum"></td>'
						+ '<td id="td_jiaoshouNum"></td>'
						+ '<td id="td_hunheNum"></td>' + '</tr>' // 
						+ '</tbody>' + '</table>',
				onContentReady : function() {
					var xhr_getTeacher = false;
					xhr_getTeacher = new XMLHttpRequest();
					xhr_getTeacher.onreadystatechange = function() {
						var message;
						if (xhr_getTeacher.readyState == 4) {
							if (xhr_getTeacher.status == 200) {

								var json_teacher = JSON
										.parse(xhr_getTeacher.responseText);

								td_teacher_name.innerHTML = json_teacher.teacher_name;
							}
						}
					}
					var formData_getTeacher = new FormData();
					xhr_getTeacher.open("POST",
							"/jxfgyj/teacher/getTeacher_byID");
					formData_getTeacher.append("teacher.teacher_id", button.id);
					xhr_getTeacher.send(formData_getTeacher);
					/*
					 * 
					 */
					var xhr = false;
					xhr = new XMLHttpRequest();
					xhr.onreadystatechange = function() {
						var message;
						if (xhr.readyState == 4) {
							if (xhr.status == 200) {

								var teacherStatistics = JSON
										.parse(xhr.responseText);

								td_vateNum.innerHTML = teacherStatistics.voteNum;
								td_average.innerHTML = teacherStatistics.average;

								if (teacherStatistics.average <= 11) {
									td_dynamicStyle.innerHTML = "沉缓型";
								} else if (teacherStatistics.average <= 19) {
									td_dynamicStyle.innerHTML = "普通型";
								} else {
									td_dynamicStyle.innerHTML = "激奋型";
								}

								td_hudongNum.innerHTML = teacherStatistics.hudongNum;
								td_jiaoshouNum.innerHTML = teacherStatistics.jiaoshouNum;
								td_hunheNum.innerHTML = teacherStatistics.hunheNum;

							} else {
								// toastr.error(xhr.status);
							}
						}
					}
					var formData = new FormData();
					xhr.open("POST", "/jxfgyj/video/getTeacherStatistics");
					formData.append("video.video_teacher", button.id);
					xhr.send(formData);
				},
				buttons : {
					// '确认' : {
					// btnClass : 'btn-blue',
					// action : function() {
					//
					// return false;
					// }
					// },
					'返回' : function() {
					}
				}
			});

}